package com.hwua.dao;

import java.util.List;

import com.hwua.entity.User;

public interface UserDAO {

	public int save(User u);

	public int update(User u);

	public int delete(String id);

	public int deleteMore(String[] ids);

	public User findById(String id);

	public User findByName(String name);

	public List<User> findAll();

	public List<User> findSearch(String keyword);

	public List<User> findByPage(int page, int pagesize);

	public int count();

}
